import config from "@/config"
import http from "@/utils/request"
export default {
	//添加收付款数据
	// Sfk: {
	// 	url: `${config.API_URL}/Cw/Sfk`,
	// 	name: "添加收付款数据",
	// 	headers: {
	// 		'Content-Type': 'application/json'
	// 	},
	// 	post: async function(data){
	// 		return await http.post(this.url,data);
	// 	}
	// },

	//员工花名册
	GetHuaMc: {
		url: `${config.API_URL}/Rl/GetHuaMc`,
		name: "员工花名册",
		get: async function(xm){
			return await http.get(this.url+`/${xm}`);
		}
	},
	//获取泛微授权平台数据（分页）
	GetShouQuanPaged: {
		url: `${config.API_URL}/Rl/GetShouQuanPaged`,
		name: "获取泛微授权平台数据（分页）",
		get: async function(pageIndex,pageSize,userId,searchKeyword){
			return await http.get(this.url+`/${pageIndex}/${pageSize}/${userId}/${searchKeyword}`);
		}
	},

}
